﻿@model Senac.Escola.Projeto.Models.Categoria

@{
    ViewBag.Title = "Delete";
}

<h2>Deletar</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Categoria</legend>

    <div class="display-label">Login</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Nome)
    </div>

    <div class="display-label">Descricao</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Descricao)
    </div>

    <div class="display-label">Professor</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Professor.Nome)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p><p></p>
        <input class="btn btn-danger" type="submit" value="Deletar" />
    </p>
}
